﻿  <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DR.WebUI.Models.Developer.DeveloperReportDetailModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	View Task Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  
         <h3>Report ID: <%:Model.ReportID%></h3>
  
    
<div style="width:98%; border: 1px solid silver; background-color:#ffffdd; padding:8px; margin-top:10px;">
    
   
    <% if (Model.CanDeleteByDeveloper) %>
    <% { %>
                <div>
                    <%: Html.Hidden("ReportID_" + Model.ReportID, Model.ReportID, new {@class = "report-id"}) %>
                    <div class="delete" title="Delete"></div>
                </div>
    <% } %>
    <% if (Model.CanEditByDeveloper) %>
                                <% { %>
                                 <div>
                                          <%: Html.Hidden("ReportID_" + Model.ReportID, Model.ReportID, new {@class = "report-id"}) %>
                                          <a href="/Developer/EditReport/<%:Model.ReportID %>"> <div class="edit" title="Edit"></div></a>
                                             </div>
                                      
                                <% }%>
                                 <div>

     <a href="/Developer/MyReports">
        <div class="back" title="Back"></div>
     </a>
     </div>
    <h4 style="width:150px;font-weight:bold; color: Maroon; max-width: 300px"><%:Model.Title%></h4>
    <table  >
        <tr>
            <td class="titleTd">ReportingPeriod:</td>
            <td><%:Model.ReportingPeriod%></td>
        </tr>

        <tr>
            <td class="titleTd">Project</td>
            <td><%:Model.Project%></td>
        </tr>
        <tr>
            <td class="titleTd" >Hours:</td>
            <td ><%:Model.Hours%></td>
        </tr>
        <tr>
            <td class="titleTd" >State:</td>
            <td ><%:Model.State%></td>
        </tr>
        </table>
        <table style="margin: 10px 0 15px 0;">
         <tr>
            <td class="titleTd" >Date Create:</td>
            <td ><%:Model.DateCreate%></td>
        </tr>
        <tr>
            <td class="titleTd">Date Reporting:</td>
            <td ><%:Model.DateReporting%></td>
        </tr>
        <tr>
            <td class="titleTd" >Date Modified:</td>
            <td ><%:Model.DateModified%></td>
        </tr>
        </table>
    
    
    <b style="color: Maroon; margin: 20px 0 0 3px;">Description:</b><br /><br />
    <pre class="discriptionStyle"><%:Model.Description%></pre>
</div>



</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="headPlaceHolder" runat="server">

<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery-1.4.4.min.js")%>"></script>
    <script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery-ui-1.8.7.custom.min.js")%>"></script>
    <script type="text/javascript" src="<%= Url.Content("~/Scripts/Developer/delete-report-by-developer.js")%>"></script>
    <script type="text/javascript" src="<%= Url.Content("~/Scripts/Report/modal-edit-report.js")%>"></script>
    <link type="text/css" href="<%= Url.Content("~/Content/jquery/jquery-ui-1.8.7.custom.css")%>" rel="stylesheet" />
    <link type="text/css" href="<%= Url.Content("~/Content/css/Awesome.css")%>" rel="stylesheet"  />

    <script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery.form.js")%>"></script>
    <script type="text/javascript" src="<%= Url.Content("~/Scripts/Awesome.js")%>" ></script>

</asp:Content>
